<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>我的好友</title>
<link rel="stylesheet" href="../static/assets/css/style2.css">
    <!-- Favicons -->
<link href="../../../static/assets/img/tubiao.png" rel="icon">
</head>
<body>
  <div class="container">
    <h2>我的好友</h2>
    <ul class="user-list">
      {% if my_friends %}
        {% for friends in my_friends %}
            <a href="/user/{{ username }}/{{ friends[2] }}"><li>{{ friends[2] }}</li></a>
        {% endfor %}
      {% else %}
        <li>暂时没有好友</li>
      {% endif %}
    </ul>
  </div>
</body>
</html>
